import Cookies from 'js-cookie'

const TokenKey = 'token'

//获取token
export function getToken() {
    return Cookies.get(TokenKey)
}
//移除token
export function removeToken() {
    return Cookies.remove(TokenKey)
}
